Component({
  properties: {
    current: {
      type: String,
      value: ''
    }
  },
  methods: {
    switchTab(e) {
      const path = e.currentTarget.dataset.path;
      console.log(path)
      wx.reLaunch({
        url: path
      });
    }
  }
});
